package com.webside.series.model;

import java.io.Serializable;
import java.util.Date;

public class SeriesEntity implements Serializable {

	private static final long serialVersionUID = 1L;
    private Integer id;

    private String name;

    private String description;

    private String summary;

    private String channel;
    
    private String kind;
    
	private String type;

    private String tag;

    private String language;

    private String year;

    private String area;

    private String poster;

    private String cover;

    private String director;

    private String actor;

    private Integer setSum;

    private Integer playCount;

    private Integer commentCount;

    private Integer likeCount;

    private Integer downloadCount;

    private Integer shareCount;
    
    private String recommendLevel;

    private String status;

    private Integer createUserId;

    private String createUserName;

    private Date createTime;

    private Integer approvalUserId;

    private String approvalUserName;

    private Date approvalTime;

    private Integer publishUserId;

    private String publishUserName;

    private Date publishTime;

    private Integer deleteUserId;

    private String deleteUserName;

    private Date deleteTime;
    
    private Integer updateUserid;
    
	private String updateUsername;
    
    private Date userTime;
    
    private String seoTitle;
    
    private String seoKeywords;
    
    private String seoDescription;
    
    private String kindName;
    
    private String typeName;
    
    private BvideoEntity bvideo;
    
    private String bName;
    
    private String sChannel;
    
    private String source;
    
    private String clarity;
    
    private int updatedSetsum;
      
   public String getUpdatedSet(){
	   return this.updatedSetsum+"/"+this.setSum;
   }

	public int getUpdatedSetsum() {
		return updatedSetsum;
	}

	public void setUpdatedSetsum(int updatedSetsum) {
		this.updatedSetsum = updatedSetsum;
	}

	public String getClarity() {
		return clarity;
	}

	public void setClarity(String clarity) {
		this.clarity = clarity;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getsChannel() {
		if(this.channel.startsWith("MOVIE")){
			return "电影";
		}else if(this.channel.startsWith("TVPLAY")){
			return "电视剧";
		}else if(this.channel.startsWith("CARTOON")){
			return "动漫";
		}
		return sChannel;
	}

	public void setsChannel(String sChannel) {
		this.sChannel = sChannel;
	}

	public String getbName() {
		if(this.recommendLevel.startsWith("1")){
			return "一级";
		}else if(this.recommendLevel.startsWith("2")){
			return "二级";
		}else if(this.recommendLevel.startsWith("3")){
			return "三级";
		}
		return bName;
	}

	public void setbName(String bName) {
		this.bName = bName;
	}

	public BvideoEntity getBvideo() {
		return bvideo;
	}

	public void setBvideo(BvideoEntity bvideo) {
		this.bvideo = bvideo;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel == null ? null : channel.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getPoster() {
        return poster;
    }
    public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}
    public void setPoster(String poster) {
        this.poster = poster == null ? null : poster.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director == null ? null : director.trim();
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor == null ? null : actor.trim();
    }

    public Integer getSetSum() {
        return setSum;
    }

    public void setSetSum(Integer setSum) {
        this.setSum = setSum;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public Integer getShareCount() {
        return shareCount;
    }

    public void setShareCount(Integer shareCount) {
        this.shareCount = shareCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getApprovalUserId() {
        return approvalUserId;
    }

    public void setApprovalUserId(Integer approvalUserId) {
        this.approvalUserId = approvalUserId;
    }

    public String getApprovalUserName() {
        return approvalUserName;
    }

    public void setApprovalUserName(String approvalUserName) {
        this.approvalUserName = approvalUserName == null ? null : approvalUserName.trim();
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public Integer getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Integer publishUserId) {
        this.publishUserId = publishUserId;
    }

    public String getPublishUserName() {
        return publishUserName;
    }

    public void setPublishUserName(String publishUserName) {
        this.publishUserName = publishUserName == null ? null : publishUserName.trim();
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getDeleteUserId() {
        return deleteUserId;
    }

    public void setDeleteUserId(Integer deleteUserId) {
        this.deleteUserId = deleteUserId;
    }

    public String getDeleteUserName() {
        return deleteUserName;
    }

    public void setDeleteUserName(String deleteUserName) {
        this.deleteUserName = deleteUserName == null ? null : deleteUserName.trim();
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }


	public String getRecommendLevel() {
		return recommendLevel;
	}

	public void setRecommendLevel(String recommendLevel) {
		this.recommendLevel = recommendLevel;
	}

	public Integer getUpdateUserid() {
		return updateUserid;
	}

	public void setUpdateUserid(Integer updateUserid) {
		this.updateUserid = updateUserid;
	}

	public String getUpdateUsername() {
		return updateUsername;
	}

	public void setUpdateUsername(String updateUsername) {
		this.updateUsername = updateUsername;
	}

	 

	public Date getUserTime() {
		return userTime;
	}

	public void setUserTime(Date userTime) {
		this.userTime = userTime;
	}

	public String getSeoTitle() {
		return seoTitle;
	}

	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}

	public String getSeoKeywords() {
		return seoKeywords;
	}

	public void setSeoKeywords(String seoKeywords) {
		this.seoKeywords = seoKeywords;
	}

	public String getSeoDescription() {
		return seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

}